package com.example.demo.dao;

import com.example.demo.model.UserDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {


    @Select("SELECT id,name,phone_number as phoneNumber,sex,address FROM user_info")
    UserDto selectUserInfo();
}
